﻿<!--

  _____ _                 _      ______                                           _
 / ____(_)               | |    |  ____|                                         | |
| (___  _ _ __ ___  _ __ | | ___| |__ _ __ __ _ _ __ ___   _____      _____  _ __| | __
 \___ \| | '_ ` _ \| '_ \| |/ _ \  __| '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ /
 ____) | | | | | | | |_) | |  __/ |  | | | (_| | | | | | |  __/\ V  V / (_) | |  |   <
|_____/|_|_| |_| |_| .__/|_|\___|_|  |_|  \__,_|_| |_| |_|\___| \_/\_/ \___/|_|  |_|\_\
                   | |
                   |_|

-->

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title | SF</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    @await Component.InvokeAsync("BackendStyleSheets")
    @await Component.InvokeAsync("BackendScripts")
    <environment names="Development">
        <link rel="stylesheet" href="/css/developer.css" />
        <link rel="stylesheet" href="/css/bootstrap.css" />
        <link rel="stylesheet" href="/css/theme.css" />
        <link rel="stylesheet" href="/css/sf-about.css" />
        <link href="/lib/jqgrid/jqgrid.css" rel="stylesheet" />
    </environment>
    <environment names="Staging,Production">
        <link rel="stylesheet" href="/css/developer.css" asp-append-version="true" />
        <link rel="stylesheet" href="/css/bootstrap.css" asp-append-version="true" />
        <link rel="stylesheet" href="/css/theme.css" asp-append-version="true" />
        <link rel="stylesheet" href="/css/sf-about.css" asp-append-version="true" />
    </environment>
</head>
<body id="dialog" class="sf-modal">
    <environment names="Development">
        <script src="/lib/jquery-1.12.4.min.js"></script>
        <script src="/lib/jquery.jquery-dotimeout.js"></script>
        <script src="/lib/modernizr.js"></script>
        <script src="/lib/summernote/summernote.min.js"></script>
        <script src="/lib/jquery.lazyload.min.js" type="text/javascript"></script>
        @* 编辑器插件 *@
        <script src="/lib/summernote/plugins/SFCodeEditor.js"></script>
        <script src="/lib/summernote/plugins/SFFileBrowser.js"></script>
        <script src="/lib/summernote/plugins/SFImageBrowser.js"></script>
        <script src="/lib/summernote/plugins/SFMergeField.js"></script>
        <script src="/lib/summernote/plugins/SFPasteFromWord.js"></script>
        <script src="/lib/summernote/plugins/SFPasteText.js"></script>


        <script src="/lib/jquery-ui-1.10.0.custom.min.js"></script>
        <script src="/lib/bootstrap.min.js"></script>
        <script src="/lib/bootstrap-timepicker.js"></script>
        <script src="/lib/bootstrap-datepicker.js"></script>
        <script src="/lib/bootstrap-modalmanager.js"></script>
        <script src="/lib/bootstrap-modal.js"></script>
        <script src="/lib/bootbox.min.js"></script>
        <script src="/lib/typeahead.min.js"></script>
        <script src="/lib/jquery.fileupload.js"></script>
        <script src="/lib/jquery.tinyscrollbar.js"></script>
        <script src="/lib/jcrop.min.js"></script>
        <script src="/lib/ResizeSensor.js"></script>
        <script src="/lib/ion.rangeSlider/js/ion-rangeSlider/ion.rangeSlider.min.js"></script>
        <script src="/lib/jqgrid/jqgrid.min.js"></script>
        <script src="/lib/jqgrid/grid.locale-cn.js"></script>

        <script src="/js/jqGridUtility.js"></script>
        <script src="/js/Extensions/sfList.js"></script>
        <script src="/js/Extensions/sfTree.js"></script>
        <script src="/js/Extensions/sfUi.js"></script>
        <script src="/js/dialogs.js"></script>
        <script src="/js/settings.js"></script>
        <script src="/js/utility.js"></script>
        <script src="/js/Controls/autoCompleteDropdown.js"></script>
        <script src="/js/Controls/bootstrap-colorpicker.min.js"></script>
        <script src="/js/Controls/bootstrap-rating-input.js"></script>
        <script src="/js/Controls/bootstrapButton.js"></script>
        <script src="/js/Controls/charts.js"></script>
        <script src="/js/Controls/datePicker.js"></script>
        <script src="/js/Controls/dateTimePicker.js"></script>
        <script src="/js/Controls/fileUploader.js"></script>
        <script src="/js/Controls/followingsToggler.js"></script>
        <script src="/js/Controls/geoPicker.js"></script>
        <script src="/js/Controls/htmlEditor.js"></script>
        <script src="/js/Controls/imageUploader.js"></script>
        <script src="/js/Controls/itemPicker.js"></script>
        <script src="/js/Controls/mediaPlayer.js"></script>
        <script src="/js/Controls/modal.js"></script>
        <script src="/js/Controls/numberUpDown.js"></script>
        <script src="/js/Controls/personPicker.js"></script>
        <script src="/js/Controls/rangeSlider.js"></script>
        <script src="/js/Controls/scheduleBuilder.js"></script>
        <script src="/js/Controls/searchField.js"></script>
        <script src="/js/Controls/slidingDateRangePicker.js"></script>
        <script src="/js/Controls/tagList.js"></script>
        <script src="/js/Controls/timePicker.js"></script>
        <script src="/js/Controls/toggleButton.js"></script>
        <script src="/js/Controls/util.js"></script>
        <script src="/js/Controls/yearPicker.js"></script>

        <script src="/js/Validate/validator.js"></script>
        <script src="/js/Admin/pageAdmin.js"></script>
        <script src="/js/indextab.js"></script>
    </environment>
    <environment names="Staging,Production">
        @*<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js"
                    asp-fallback-src="~/lib/jquery/jquery.min.js"
                    asp-fallback-test="window.jQuery">
            </script>
            <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.5/bootstrap.min.js"
                    asp-fallback-src="~/lib/bootstrap/js/bootstrap.min.js"
                    asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal">
            </script>*@
    </environment>
    <div class="modal-content">
        <input class="modal-close-message" type="hidden" name="hfCloseMessage" id="hfCloseMessage">
        <div class="modal-header">
            <a id="closeLink" href="#" class="close" onclick="window.parent.SF.controls.modal.close($(this).closest('.modal-content').find('.modal-close-message').first().val());">×</a>
            <h3 class="modal-title">
                Page Properties
            </h3>
        </div>
        <div class="modal-body">
            <!-- Ajax Error -->
            <div class="alert alert-danger ajax-error" style="display:none">
                <p><strong>Error</strong></p>
                <span class="ajax-error-message"></span>
            </div>
            <div class="block-content">
                @RenderBody()
            </div>
        </div>
        <div class="modal-footer">
            <a onclick="window.parent.SF.controls.modal.close($(this).closest('.modal-content').find('.modal-close-message').first().val());" id="btnCancel" class="btn btn-link">Cancel</a>
            <a id="btnSave" class="btn btn-primary">Save</a>
        </div>
    </div>

    <script>

        $(document).ready(function () {


        });
    </script>

    @RenderSection("scripts", required: false)

</body>
</html>